}
NotifyAsync(params, invocation) {
- let [appName, replacesId, icon, summary, body, actions, hints, timeout] = params;
+ let [appName, replacesId, appIcon, summary, body, actions, hints, timeout] = params;
let id;
for (let hint in hints) {
const ndata = {
appName,
- icon,
+ appIcon,
summary,
body,
actions,
}
_notifyForSource(source, ndata) {
- const {icon, summary, body, actions, hints} = ndata;
+ const {appIcon, summary, body, actions, hints} = ndata;
let {notification} = ndata;
if (notification == null) {
let gicon = this._imageForNotificationData(hints);
if (!gicon)
- gicon = this._iconForNotificationData(icon);
+ gicon = this._iconForNotificationData(appIcon);
if (!gicon)
gicon = this._fallbackIconForNotificationData(hints);